package com.fyyg.dal;

import com.fyyg.model.TBusiProduct;
import java.util.List;
import java.util.Map;

public interface TBusiProductMapper {
    int deleteByPrimaryKey(Integer proId);

    int insert(TBusiProduct record);

    TBusiProduct selectByPrimaryKey(Integer proId);
    
    TBusiProduct selectByProId(Integer proId);

    List<TBusiProduct> selectAll();

    int updateByPrimaryKey(TBusiProduct record);
    
    List<TBusiProduct> queryEventPro();
    
    /**
     * 根据状态查询所有商品
     * @return
     */
    List<TBusiProduct> queryTbusiProductByStatus(String proStatus);
    
    
    
    
    /**
     * 
     */
    List<TBusiProduct> queryTbusiProductByProduct(Map<String,Object> proMap);
    int queryTbusiProductByProductCount(Map<String,Object> proMap);
    
    
}